<template>
  <div class="wrapper">
    <ul class="content">
      <li>***</li>
    </ul>
  </div>
</template>

<script>
  import BScroll from 'better-scroll'

  export default {
    name: "Category",
    data(){
      return{
        scroll:null,
      }
    },
    //组件创建完成后调用
    created() {

    },
    mounted() {
      this.scroll=new BScroll('.wrapper',{

      })
    }
  }
</script>

<style scoped>
  .wrapper{
    height: 150px;
    background-color: red;
    overflow: hidden;
  }
</style>
